n = eval(input())
list1 = list(map(int, input().split()))
list1.sort()
for i in range(len(list1)):
    if i != len(list1)-1:
        print(f'{list1[i]}', end=' ')
    else:
        print(list1[i])
